import Vue from 'vue'
import App from './App'
import http from './utils/http.interceptor.js';
import {imgOnload} from "@/common/utils.js";

Vue.config.productionTip = false

App.mpType = 'app'

// 引入全局uView
import uView from 'uview-ui'
Vue.use(uView);

import url from "./utils/config";
Vue.prototype.$url = url;
Vue.prototype.imgOnload = imgOnload

const app = new Vue({
    ...App
})

Vue.use(http, app);
app.$mount()
